Skip to content

outbound/ssh: add cipher, MAC, and key exchange configuration#4066

Closed
rojer wants to merge 54 commits intoSagerNet:testingfrom
rojer:ssh_ciphers
Closed

outbound/ssh: add cipher, MAC, and key exchange configuration#4066
rojer wants to merge 54 commits intoSagerNet:testingfrom
rojer:ssh_ciphers

Conversation

@rojer
Copy link
Copy Markdown

@rojer rojer commented Apr 21, 2026

Ability to specify client's cipher preference is useful. In particular, often aes128-gcm is more efficient but chacha-poly1305 is selected instead.

@nekohasekai nekohasekai force-pushed the testing branch 3 times, most recently from 99e1ffe to 8130928 Compare April 22, 2026 05:51
Ability to specify client's cipher preference is useful.
In particular, often `aes128-gcm` is more efficient but
`chacha-poly1305` is selected instead.
@rojer
Copy link
Copy Markdown
Author

rojer commented Apr 25, 2026

@nekohasekai this is a small change that shouldn't be controversial, any chance it can be merged before 0.14?

@nekohasekai nekohasekai force-pushed the testing branch 5 times, most recently from 1b0e6c5 to abedea4 Compare April 28, 2026 07:12
@rojer
Copy link
Copy Markdown
Author

rojer commented May 2, 2026

@nekohasekai ok, i see it's been added in 610aa94 but without validation. i think validation is important, as incorrect configuration may seem to work, but actual ciphers not to be used.

@rojer
Copy link
Copy Markdown
Author

rojer commented May 2, 2026

however, this is enough for me so i'll close this PR. leaving validation up to you.

@rojer rojer closed this May 2, 2026
@rojer rojer deleted the ssh_ciphers branch May 2, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants